import http from './http'
const getPages = (params)=>{
    return http('/api/page/findAll', 'post', params)
}
const createPage = (params)=>{
    return http('/api/page/create', 'post', params)
}
const deletePage = (id)=>{
    return http('/api/page/delete', 'post', { id })
}



export { getPages, createPage, deletePage } 